package org.lq.his.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Allergy {
    private Integer id;

    private Patient patient;

    private String drugName;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date astDate;

    private String astHospital;

    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Patient getPatient() {
		return patient;
	}

	public void setPatient(Patient patient) {
		this.patient = patient;
	}

	public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public Date getAstDate() {
        return astDate;
    }

    public void setAstDate(Date astDate) {
        this.astDate = astDate;
    }

    public String getAstHospital() {
        return astHospital;
    }

    public void setAstHospital(String astHospital) {
        this.astHospital = astHospital;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}